package com.fengniu.ejb.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "Site2CategoryTable", schema = "FENGNIU", uniqueConstraints = {})
//@Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL)
public class Site2Category extends GeneRelation implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 8371983634983680406L;

	@ManyToOne
	Site site;

	@ManyToOne
	Category category;

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public Site getSite() {
		return site;
	}

	public void setSite(Site site) {
		this.site = site;
	}

}
